<HTML><HEAD><TITLE>/home/steder/Projects/Tutorials/python/BobChat-v0.3/BobClient.py</TITLE></HEAD>
                  <BODY BGCOLOR=#FFFFFF>
                  <!--header-->
                  <!--script--><PRE><FONT COLOR=#1111CC># Behold the power of a Hello World program with </FONT>
<FONT COLOR=#1111CC># console I/O.</FONT>

<FONT COLOR=#3333CC><B>print</B></FONT> <FONT COLOR=#115511>"Hello User, you're lookin' fine!"</FONT>
<FONT COLOR=#3333CC><B>print</B></FONT> <FONT COLOR=#115511>"Can I get your phone number?"</FONT>
phonenumber = raw_input(<FONT COLOR=#115511>"&gt;"</FONT>)

<FONT COLOR=#1111CC># At this point number could be a number of strings,</FONT>
<FONT COLOR=#1111CC># from "", to "no", to "(555)555-5555"</FONT>

number = raw_input(<FONT COLOR=#115511>"Pick a number between 1-7: "</FONT>)
number = int(number) <FONT COLOR=#1111CC># We really should check that this is between 1-7</FONT>

<FONT COLOR=#3333CC><B>for</B></FONT> i <FONT COLOR=#3333CC><B>in</B></FONT> range(number):
    <FONT COLOR=#3333CC><B>print</B></FONT> <FONT COLOR=#115511>"You said your phone number was:"</FONT>,phonenumber
</PRE>
                  <!--footer-->
                  </BODY>
